package com.stu.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CreateDate {
	public static String getDate() {
		Date date=new Date();
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
		String c=sdf.format(date);
		return c;
	}
	public static String getDateHH() {
		Date date=new Date();
		SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm");
		String c=sdf.format(date);
		return c;
	}
}
